package com.tfjybj.itoo.teach.provider.until;

import java.util.Random;

public class RandomNum {
    public static String getCard() {
        Random rand = new Random();// 生成随机数
        StringBuilder cardNumber = new StringBuilder();
        for (int i = 0; i < 6; i++) {
            cardNumber.append(rand.nextInt(10));//生成6为数字
        }
        return cardNumber.toString();
    }
}
